<template>
	<div>
		<div>menu1-2-2</div>
		<div>
			<el-button type="primary" @click="handleClick">按钮</el-button>
		</div>
		<div>
			{{ banner}}
		</div>
	</div>


</template>

<script>
import {fetchList} from "@/api/demo"
export default {
	data() {
		return {
			banner: "hello world!"
		}
	},
	methods: {
		handleClick() {
			this.banner = "浪浪天下第一"
			fetchList().then(res=>{
				console.log(res)
			})
		}
	}
};
</script>

<style></style>